<?php session_start();
	if (!defined('IN_SITE') ){
		die('Hacking Attemp!');
	}
	include("class/config.php");
	include("class/template.php");
	include("class/db.php");
	include("class/functions.php");	
	include("class/function.php"); 
	$db = new sql_db(DATABASE_SERVER, DATABASE_USER_NAME, DATABASE_PASSWORD, DATABASE_NAME);
	if(isset($_SESSION["ses_login"])){
		session_register("ses_login");		
	} 
	$prefix="nhac_";
?>